package com.xrit.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.xrit.mapper.UserMapper;
import com.xrit.pojo.User;
import com.xrit.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findByName(String name) {
        return userMapper.findByName(name);
    }
}
